package com.example.demo.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Date;

public interface CrSalesAccountMapper {

    @Insert("insert into cr_sales_account (id,partsOrderId,partsName,partsNum,partsUnit,partsPrice,partsTotal,createTime) values(#{id},#{partsOrderId},#{partsName},#{partsNum},#{partsUnit},#{partsPrice},#{partsTotal},#{createTime})")
    int insertAccount(@Param("id")String id,@Param("partsOrderId")String partsOrderId,@Param("partsName")String partsName,@Param("partsNum")Integer partsNum,@Param("partsUnit")String partsUnit,@Param("partsPrice")BigDecimal partsPrice,@Param("partsTotal")BigDecimal partsTotal,@Param("createTime")Date createTime);
}
